//
//  Raquette.m
//  AutoPong
//
//  Created by Pierre DUCHENE on 10/12/09.
//  Copyright 2009 Pierre DUCHENE. All rights reserved.
//

#import "Raquette.h"


@implementation Raquette

- (id)init
{
    if (self = [super initWithFrame:CGRectMake(120, 420, 80, 11)]) {
        image = [[UIImage imageNamed:@"Raquette.png"] retain];
    }
    return self;
}

- (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        image = [[UIImage imageNamed:@"Raquette.png"] retain];
    }
    return self;
}


- (void)drawRect:(CGRect)rect {
	[self setBackgroundColor:[UIColor clearColor]];
    [image drawAtPoint:CGPointMake(0, 0)];
}


- (void)dealloc {
    [super dealloc];
}


@end
